﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace AllServer.Core.Entity;
    ///<summary>
    ///订单表
    ///</summary>
    [SugarTable("TOrderInfo")]
    public partial class TOrderInfo
    {
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(IsPrimaryKey=true,IsIdentity=true,ColumnName="Id")]
        public int Id {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="ProductId")]
        public int ProductId {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="ChannelId")]
        public int ChannelId {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="UserCode")]
        public string UserCode {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="OutOrderNo")]
        public string OutOrderNo {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="BizOrderNo")]
        public string BizOrderNo {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="Price")]
        public decimal Price {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="PriceType")]
        public int PriceType {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="CreateTime")]
        public DateTime CreateTime {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="OrderStatus")]
        public int OrderStatus {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="SellerAccount")]
        public string SellerAccount {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="PayMethod")]
        public int PayMethod {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="AppVer")]
        public int AppVer {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="AndroidVer")]
        public string AndroidVer {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="Model")]
        public string Model {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="AndroidId")]
        public string AndroidId {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="Remark")]
        public string Remark {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="PayConfigId")]
        public int PayConfigId {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="PriceTypeId")]
        public int PriceTypeId {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="VersionType")]
        public int VersionType {get;set;}
        /// <summary>
        /// 迁移主键
        /// </summary>           
        [SugarColumn(ColumnName="RawId")]
        public int? RawId {get;set;}
        /// <summary>
        /// 最后更新时间，用于同于更新判断
        /// </summary>           
        [SugarColumn(ColumnName="SyncUpdateTime")]
        public DateTime? SyncUpdateTime {get;set;}
    }
